package lab02.test35;

/**
 * Created by dell on 2017/11/19.
 */
public class Salesman extends Employee{
    //在基本工资的基础上每月还有销售提成
    double basesalary;
    int quantity;
    double commission;
    public Salesman(String name, double v, double v1, double v2) {
        super(name);
        this.basesalary=basesalary;
        this.quantity=quantity;
        this.commission=commission;
    }

    @Override
    public double computeSalary() {
        return basesalary+quantity*commission;
    }

}
